CREATE TABLE `${tableName}` (
    `id` bigint NOT NULL COMMENT '主键id',
    `create_at` datetime COMMENT '创建时间',
    `update_at` datetime COMMENT '更新时间',
    `del` bit COMMENT '删除状态 1 删除 0 正常',
<#list classFields as field>
    `${field.columnName}` ${field.dbType} <#if field.length??>(${field.length?c}<#if field.precision??>,${field.precision}</#if>)</#if> <#if (field.defaultValue??) && field.defaultValue!=""> DEFAULT ${field.defaultValue}<#elseif field.defaultValue??>DEFAULT ''</#if> <#if field.notNull>NOT NULL</#if> COMMENT '${field.fieldComment}',
</#list>
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='${classComment}'
